﻿using Model.Dto;
using Model.Entity;
using Model.Request;
using Model.Response;

namespace TemplateInterfaceService
{
    /// <summary>
    /// 用户服务接口
    /// </summary>
    public interface IUserService
    {
        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        Task<Users> GetUser(LoginRequest req);

        /// <summary>
        /// 根据查询条件获取用户列表
        /// </summary>
        /// <param name="req">查询条件</param>
        /// <returns></returns>
        Task<GetSearchUsersResponse> GetSearchUsers(GetSearchUsersRequest req);
    }
}
